<!DOCTYPE html>
<html>
<head>
  <title></title>
</head>
<body>
<div id="app">
  <h2 v-show="visible">v-show, visible = true</h2>
  <h2 v-show="!visible">v-show, visible = false</h2>
  <h2 v-if="visible">v-if, visible = true</h2>
  <h2 v-else>v-if, visible = false</h2>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.min.js"></script>
<script type="text/javascript">
  let vm = new Vue({
    el: '#app',
    data () {
      return {
        visible: false
      }
    }
  })
</script>
</body>
</html>